package com.sanley.coronavirus.service;

import com.sanley.coronavirus.bo.Card;
import com.sanley.coronavirus.bo.PieSliceContent;
import org.springframework.stereotype.Service;

import java.util.List;


public interface IndexPageService {

    /**
     * 获取主页卡片信息
     *
     * @return
     */
    List<Card> getCards();

    /**
     * 获取饼状图数据
     *
     * @return
     */
    List<PieSliceContent> getPieChartData();
}
